# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="a GTK+ based program for viewing 3D models"
HOMEPAGE="http://automagically.de/?g3dviewer"
SRC_URI="http://download.gna.org/g3dviewer/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="virtual/opengl
	virtual/glu
	media-libs/libg3d
	>=x11-libs/gtk+-2
	>=gnome-base/libglade-2
	x11-libs/gtkglext"

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc AUTHORS ChangeLog CREDITS NEWS README TODO
}
